package kr.hkit.powerjava.chapter11.work;

public class Student {
	String name;
	String stdNumber;
	String major;
	String year;
	int grade;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getStdNumber() {
		return stdNumber;
	}
	public void setStdNumber(String stdNumber) {
		this.stdNumber = stdNumber;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public Student() { };
	
	public Student(String name, String stdNumber, String major, String year,
			int grade) {
		super();
		this.name = name;
		this.stdNumber = stdNumber;
		this.major = major;
		this.year = year;
		this.grade = grade;
	}
	
}
